<table>
    <tr>
        <th>Id</th>
        <th>Item Name</th>
        <th>Edit</th>
        <th></th>
    </tr>
    
    <?php
    foreach ($this->items as $item) {
        if ( $item instanceof App_ItemDto) {
            echo "<tr>
                <td>{$item->id}</td>
                <td>{$item->name}</td>
                <td><a href='/zend/item/edit?id={$item->id}'>Edit</a></td>
                <td></td>
            </tr>";
        }
    }
    ?>
</table>
<a href="<?php echo $this->baseUrl(); ?>/item/create">add item</a>